<ul>
	<li class="last">
		<% unless current_user.nil? %>
			<%= link_to "สวัสดีครับ #{current_user.login}!" %>
			<%= link_to "Log out", logout_path %>
		<% else %>
			<%= link_to "Sign In", login_path %>
		<% end %>  
	</li>
</ul>
